#!/bin/sh

if [ -n "`/opt/bin/pidof ntop`" ]; then 
    /opt/bin/killall ntop 2>/dev/null
fi

mkdir -p /opt/var/ntop/log

/opt/bin/ntop -a /opt/var/ntop/log/access_log -d -L -M --skip-version-check -u0 -w 3000 -W 3001
